import { createDiscreteApi } from 'naive-ui'

const { message } = createDiscreteApi(['message'])

export const useGlobalMessage = () => {
  return message
}

export default message
